﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SAM.Framework.MockData
{
    public class MockContext<T>
    {
        /// <summary>
        /// codeStr的代码段
        /// </summary>
        public string CodeStr { get; set; }
        /// <summary>
        /// mock后需要返回的对象
        /// </summary>
        public T Result { get; set; }

        /// <summary>
        /// 返回值名称
        /// </summary>
        public string ResultName { get; set; }

        public MockContext()
        {
            this.ResultName = "result";
        }
    }
}
